package com.medata.service.impl;

import com.medata.dataObject.Resserver;
import com.medata.repository.ResserverRepository;
import com.medata.service.ResserverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：zb
 * @date ：Created in 2019/9/9 0009 16:08
 * @description：
 */
@Service
public class ResserverServiceImpl implements ResserverService {
    @Autowired
    private ResserverRepository resserverRepository;

    @Override
    public Resserver findByServerport(String serverport) {
        return resserverRepository.findByServerport(serverport);
    }
}
